Fix bug #10075 with cursor drawing in an hscrolled window.
authorEli Zaretskii <eliz@gnu.org>
Sat, 19 Nov 2011 15:50:23 +0000 (17:50 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 19 Nov 2011 15:50:23 +0000 (17:50 +0200)
commit957d5894675379e26a1e204fa08d83801159a102
tree413dfabc2dd0326c72de62ea54cf2ba920645205
parenta7578c4729088290665e393f1048773134b3da9f
Fix bug #10075 with cursor drawing in an hscrolled window.

 src/xdisp.c (x_write_glyphs, draw_phys_cursor_glyph)
 (erase_phys_cursor, update_window_cursor, show_mouse_face)
 (cursor_in_mouse_face_p): If the cursor position is out of bounds,
 behave as if the cursor position were at the window margin.
 src/window.c (get_phys_cursor_glyph): If the window is hscrolled,
 and the cursor position is out of bounds, behave as if the cursor
 position were at the window margin.
src/ChangeLog
src/window.c
src/xdisp.c